package org.xems.display
{
	import flash.display.DisplayObject;
	
	/**
	 * @author qixiaowei
	 */
	public class BaseLoaderSkin extends DisplayObject implements ILoaderSkin
	{
		private var _percent:Number = 0;
		private var _bytesLoaded:uint = 0;
		private var _bytesTotal:uint = 0;
		public function BaseLoaderSkin()
		{
			super();
		}
		
		public function set percent(value:Number):void
		{
			_percent = value;
		}
		
		public function get percent():Number
		{
			return _percent;
		}
		
		public function set bytesLoaded(value:uint):void
		{
			_bytesLoaded = value;
		}
		
		public function get bytesLoaded():uint
		{
			return _bytesLoaded;
		}
		
		public function set bytesTotal(value:uint):void
		{
			_bytesTotal = value;
		}
		
		public function get bytesTotal():uint
		{
			return _bytesTotal;
		}
		
		public function get skin():DisplayObject
		{
			return this;
		}
	}
}